#ifndef VOICE_H
#define VOICE_H

#include <QtCore/QString>
#include <QtCore/QDateTime>

class Voice
{
public:
	Voice();
	Voice(int, const QString &, const QString &, const QDateTime &, bool del = false);

	int userID;
	QString userName;
	QString content;
	QDateTime dateTime;
	bool isDeletable;

	QString dateTimeString() const;
};

#endif // VOICE_H
